
// <copyright file="CounterData.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The counter data.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Diagnostics.Performance
{
    using System;

    /// <summary>
    /// The counter data.
    /// </summary>
    public class CounterData
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="CounterData"/> class.
        /// </summary>
        public CounterData()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="CounterData"/> class.
        /// </summary>
        /// <param name="timeStamp">
        /// The time stamp.
        /// </param>
        /// <param name="rawValue">
        /// The raw value.
        /// </param>
        public CounterData(DateTime timeStamp, double rawValue)
        {
            this.TimeStamp = timeStamp;
            this.RawValue = rawValue;
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        /// Gets or sets the raw value.
        /// </summary>
        public double RawValue { get; set; }

        /// <summary>
        /// Gets or sets the time stamp.
        /// </summary>
        public DateTime TimeStamp { get; set; }

        #endregion Public Properties
    }
}
